package com.example.demo.service;

import com.example.demo.bean.CheckCode;
import com.example.demo.utils.JWLoginUtil;

import java.io.InputStream;
import java.util.ArrayList;

public interface OneKeyCommentService {



    /**
     *
     *     private static final int STATE_LOGIN_JW_SUCCESS =1;
     *     private static final int STATE_LOGIN_JW_CHECKCODE_ERROR =-1;
     *     private static final int STATE_LOGIN_JW_REPAIRED =-2;
     *     private static final int STATE_LOGIN_JW_USER_NOT_EXIST =-3;
     *     private static final int STATE_LOGIN_JW_PASSWORD_ERROR =-4;
     *     private static final int STATE_LOGIN_JW_FAILED =-5;
     * */
    int loginJw(String user,String pwd,String code,String cookie);


    ArrayList<String[]> getNeedCommentList();


    int oneKeyComment(ArrayList<String[]> needCommentList);


}
